import { ITablePropList } from '@/components/myTable/types/index';
import { ref } from 'vue';

export const propList = ref<ITablePropList>([
  {
    prop: 'name',
    label: '用户名',
    minWidth: 100,
  },
  {
    prop: 'realname',
    label: '真实姓名',
    minWidth: 100,
  },
  {
    prop: 'cellphone',
    label: '手机号',
    minWidth: 150,
  },
  {
    prop: 'enable',
    label: '状态',
    minWidth: 150,
    slotName: 'enable',
  },
  {
    prop: 'createAt',
    label: '创建时间',
    minWidth: 250,
    slotName: 'createAt',
  },
  {
    prop: 'updateAt',
    label: '更新时间',
    minWidth: 250,
    slotName: 'updateAt',
  },

  {
    prop: 'handler',
    label: '操作',
    minWidth: 120,
    slotName: 'handler',
  },
]);
